package com.woniu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.entity.AlarmMessage;
import com.baomidou.mybatisplus.extension.service.IService;

import com.woniu.util.PageData;
import com.woniu.util.ResponseData;
import com.woniu.vo.AlarmMessageVo;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
* @author Apricity
* @description 针对表【alarm_message(报警消息表)】的数据库操作Service
* @createDate 2025-02-13 20:16:58
*/
public interface AlarmMessageService extends IService<AlarmMessage> {

    Page<AlarmMessageVo> queryPage(PageData pageData);

    AlarmMessageVo queryMsgByid(Long id);

    void updateStatus(Integer status, Long id);

    AlarmMessageVo getChargerMsg(Long id);

    ResponseData<?> outDepartmentExcelTemplate(HttpServletResponse response) throws IOException;
}
